home *** CD-ROM | disk | FTP | other *** search
- aecho {
- if (($left($active,4) == @irc) && ($mid($active,5,1) isnum)) echo -a $ac(ircN>) $+ $1-
- else echo -a $1-
- }
- bg {
- if ($4) {
- set %i.bg 0
- :start
- inc %i.bg
- if (%i.bg <= $3) {
- aline $1 $+ $2 $+ , $+ $2 $+ $str(á,$4) $+
- goto start
- }
- }
- elseif ($3) {
- set %i.bg 0
- :start1
- inc %i.bg
- if (%i.bg <= $3) {
- aline $1 $+ $2 $+ , $+ $2 $+ $str(á,200) $+
- goto start1
- }
- }
- else iecho Syntax: /bg <@Window> <color> <lines> [width]
- }
- blink {
- if ($7) {
- set %i.blink 0
- :start
- inc %i.blink
- if (%i.blink <= $4) {
- rline $1 $5 $+ $2 $+ , $+ $3 $+ $str(á,$6) $+ $7- $+ $+ $2 $+ , $+ $3 $+ $str(á,256) $+
- rline $1 $5 $+ $2 $+ , $+ $3 $+ $str(á,256) $+
- goto start
- }
- rline $1 $5 $+ $2 $+ , $+ $3 $+ $str(á,$6) $+ $7- $+ $+ $2 $+ , $+ $3 $+ $str(á,256) $+
- }
- else iecho Syntax: /blink <@Window> <fore color> <back color> <repetitions> <line> <position> <text>
- }
- buff {
- echo $1
- echo $1
- }
- cclr {
- .remove $tp(chan.txt)
- :start
- if ($findfile($tp,*.fld,1)) {
- .remove $findfile($tp,*.fld,1)
- goto start
- }
- }
- ch {
- if ($form(ircN,iecho)) set %h $readini %formats ircN iecho
- else set %h [ $+ $hc(N) $+ ]
- }
- clock {
- if ((?:00?m iswm $atime) || (?:30?m iswm $atime) && (%lastclock != $atime)) {
- set %lastclock $atime
- if (%clock == chan) amsg The time is now %lastclock %tz
- elseif (%clock == echo) iecho The time is now $hc(%lastclock) $+ .
- }
- }
- colchan {
- if (%colnick == on) {
- set %i.colchan 0
- :start
- inc %i.colchan
- if ($chan(%i.colchan)) {
- colnick $chan(%i.colchan)
- goto start
- }
- }
- }
- colupdt {
- if (%colnick == on) cline -r $ulcolor($2,$1,$level($address($2,5))) $1 $nick($1,$2)
- }
- colupdt2 {
- if (%colnick == on) {
- set %i.colupdt2 0
- :start
- inc %i.colupdt2
- if ($hstmask($1,%i.colupdt2)) {
- colupdt3 $hstmask($1,%i.colupdt2)
- goto start
- }
- }
- }
- colupdt3 {
- if (%colnick == on) {
- set %i.colupdt3 0
- :start
- inc %i.colupdt3
- if ($chan(%i.colupdt3)) {
- set %j.colupdt3 0
- :start2
- inc %j.colupdt3
- if ($ialchan($1,$chan(%i.colupdt3),%j.colupdt3)) {
- cline -r $2 $ulcolor($ialchan($1,$chan(%i.colupdt3),%j.colupdt3).nick,$chan(%i.colupdt3),$level($1)) $chan(%i.colupdt3) $nick($chan(%i.colupdt3),$ialchan($1,$chan(%i.colupdt3),%j.colupdt3).nick)
- goto start2
- }
- goto start
- }
- }
- }
- curchans {
- unset %curchans
- set %i.curchans 0
- :start
- inc %i.curchans
- if ($chan(%i.curchans)) {
- set %curchans $addtok(%curchans,$chan(%i.curchans),44)
- goto start
- }
- }
- dstat {
- var %z = ircN.dccstatus
- if ($dialog(%z) == $null) { .timerdstat off | return }
- if (($send(0) == 0) && ($get(0) == 0)) {
- dialog -x %z
- return
- }
- if ($1 == -u) {
- var %a = 1
- while ($get(%a) != $null) {
- did -a %z 3 %a $+ . $ifmatch
- inc %a
- }
- set %a 1
- while ($send(%a) != $null) {
- did -a %z 13 %a $+ . $ifmatch
- inc %a
- }
- }
- var %y = $gettok($did(%z,3),1,46)
- if ($did(%z,3) != $null) {
- did -o %z 4 1 Nick: $get(%y)
- did -o %z 6 1 $round($get(%y).cps,1) cps
- did -o %z 7 1 Complete: $get(%y).pc $+ %
- did -o %z 9 1 $rsc($duration($div($sub($get(%y).size,$get(%y).rcvd),$get(%y).cps)))
- did -o %z 11 1 $rsc($d.g(%y,$duration($div($get(%y).rcvd,$get(%y).cps))))
- did -o %z 23 1 $get(%y).file
- }
- var %b = $gettok($did(%z,13),1,46)
- if ($did(%z,13) != $null) {
- did -o %z 14 1 Nick: $send(%b)
- did -o %z 16 1 $round($send(%b).cps,1) cps
- did -o %z 17 1 Complete: $send(%b).pc $+ %
- did -o %z 19 1 $rsc($duration($div($sub($send(%b).size,$send(%b).sent),$send(%b).cps)))
- did -o %z 21 1 $rsc($d.g(%b,$duration($div($send(%b).sent,$send(%b).cps))))
- did -o %z 25 1 $send(%b).file
- }
- }
- ddeset {
- .ddeserver off
- set %i.ddeset 1
- :loop
- inc %i.ddeset
- set %j.ddeset $dde ircN [ $+ [ %i.ddeset ] ] version ""
- if ($dde ircN connected "" == $null) .ddeserver on ircN
- elseif (%j.ddeset == $null) .ddeserver on ircN [ $+ [ %i.ddeset ] ]
- else goto loop
- }
- default.setup {
- var %a, %b, %y, %z
- set %a 1
- while ($gettok(channel.als query.als client.als stats.als toggles.als identfrs.als bckgrnd.als nukenab.als userlist.als,%a,32) != $null) {
- set %z $ifmatch
- if ($alias(%z) == $null) .load -a %z
- inc %a
- }
- .load -ps spopup.pop
- .load -pc cpopup.pop
- .load -pq qpopup.pop
- .load -pn npopup.pop
- .load -pm mpopup.pop
- .load -ru users.mrc
- .load -rv vars.mrc
- set %a 1
- while ($gettok(events.mrc events2.mrc ctcps.mrc raw.mrc raw2.mrc raw3.mrc itelnet.mrc utils.mrc addon2.mrc themes.mrc idraw.mrc dialogs.mrc ircNgui1.mrc ircNgui2.mrc ucentral.mrc usersum.mrc maxtime.mrc notes.mrc,%a,32) != $null) {
- set %z $ifmatch
- if ($script(%z) == $null) .reload -rs %z
- inc %a
- }
- if (%aver) {
- set %a 1
- while ($gettok(%aver,%a,32) != $null) {
- set %z $ifmatch
- set %b 1
- while ($avar(%z,$addtok(alias,%b,0))) {
- set %y $adn($ifmatch)
- if ($alias(%y) == $null) .load -a %y
- inc %b
- }
- set %b 1
- while ($avar(%z,$addtok(script,%b,0))) {
- set %y $adn($ifmatch)
- if ($script(%y) == $null) .reload -rs %y
- inc %b
- }
- inc %a
- }
- }
- }
- firstjoin {
- unset %firstjoin
- iecho ircN is now setting up your userlist. You must now add yourself to your userlist as owner.
- set %owner $$?="Please choose a username."
- adduser %owner $address($me,3)
- chattr %owner ovfxjmncrp
- iecho You have now been added to your userlist with full access. You must now set a password
- chpass %owner $$?*="Enter your password. If you forget it, simply type '/chpass [ %owner ] passwordhere'"
- }
- get.dns {
- write -c $tp(icmp.txt)
- write $tp(icmp.txt) exit $chr(123) set % $+ iploc $ $+ swlc(@ICMPáScanner) $vl window -c @ICMPáScanner $vl set % $+ ip2loc $ $+ swlc(@DNS) $vl window -c @DNS $vl .remove $tp(temp.txt) $chr(125)
- write $tp(icmp.txt) -
- window -a @ICMPáScanner %iploc $tp(icmp.txt) FixedSys 9
- window -a @DNS %ip2loc $tp(icmp.txt) FixedSys 9
- aline @ICMPáScanner . $+ $str(-,22) $+ .
- aline @ICMPáScanner $vl $fix(20,ICMP Scan Results) $vl
- aline @ICMPáScanner $vl $+ $str(-,22) $+ $vl
- aline @ICMPáScanner $fix(22,$vl) $vl
- set %i.get.dns 3
- :start
- inc %i.get.dns
- if (%i.get.dns <= $pls($lines($tp(temp.txt)),1)) {
- set %tmp.get.dns $read -nl [ $+ [ %i.get.dns ] ] $tp(temp.txt)
- set %tmp.get.dns $gettok(%tmp.get.dns,1,32)
- if ($count(%tmp.get.dns,.) == 3) {
- write $tp(icmp.txt) %tmp.get.dns
- write $tp(icmp.txt) .dns $chr(123) dns %tmp.get.dns $chr(125)
- write $tp(icmp.txt) .find nick $chr(123) nickfind %tmp.get.dns $chr(125)
- aline @ICMPáScanner $vl $lfix(2,$sub(%i.get.dns,3)) $+ . $fix(16,%tmp.get.dns) $vl
- goto start
- }
- aline @ICMPáScanner ' $+ $str(-,22) $+ '
- unset %tmp*
- }
- }
- get.bot.ops {
- if ($2) {
- if (($chkflag($usr($2),$1,g)) && ($2 isop $1) && ($botpass($usr($2)))) {
- if ($chkflag($usr($2),$1,b)) {
- qmsg $2 op $botpass($usr($2)) $1
- echo $1 %h Requesting ops from $hc($2) [[ $+ $remove($address($2,0),*!) $+ ]] $rbrk(eggdrop) in $hc($1)
- }
- elseif ($chkflag($usr($2),$1,i)) {
- qctcp $2 OP $botpass($usr($2)) $1
- echo $1 %h Requesting ops from $hc($2) [[ $+ $remove($address($2,0),*!) $+ ]] $rbrk(ircN) in $hc($1)
- }
- }
- return
- }
- set %i.get.bot.ops 0
- :loop
- inc %i.get.bot.ops
- if ($nick($1,%i.get.bot.ops)) {
- if (($chkflag($usr($nick($1,%i.get.bot.ops)),$1,g)) && ($nick($1,%i.get.bot.ops) isop $1) && ($botpass($usr($nick($1,%i.get.bot.ops))))) {
- if ($chkflag($usr($nick($1,%i.get.bot.ops)),$1,b)) {
- qmsg $nick($1,%i.get.bot.ops) op $botpass($usr($nick($1,%i.get.bot.ops))) $1
- echo $1 %h Requesting ops from $hc($nick($1,%i.get.bot.ops)) [[ $+ $remove($address($nick($1,%i.get.bot.ops),0),*!) $+ ]] $rbrk(eggdrop) in $hc($1)
- }
- elseif ($chkflag($usr($nick($1,%i.get.bot.ops)),$1,i)) {
- qctcp $nick($1,%i.get.bot.ops) OP $botpass($usr($nick($1,%i.get.bot.ops))) $1
- echo $1 %h Requesting ops from $hc($nick($1,%i.get.bot.ops)) [[ $+ $remove($address($nick($1,%i.get.bot.ops),0),*!) $+ ]] $rbrk(ircN) in $hc($1)
- }
- else goto loop
- }
- else goto loop
- }
- }
- idchk {
- set %i.idchk 0
- :start
- inc %i.idchk
- if ($chan(%i.idchk)) {
- if (($isvalidchan(%idchan,$chan(%i.idchk))) && ($me isop $chan(%i.idchk))) idle -k $chan(%i.idchk)
- goto start
- }
- }
- iecho {
- if (($left($active,4) == @irc) && ($mid($active,5,1) isnum)) echo -ai2 $ac(irc) $+ $hc(N) $+ $ac(:) $+ %h $1-
- elseif ($active == @ircII) echo -ai2 %h $1-
- elseif ($left($active,1) == @) echo -si2 %h $1-
- else echo -ai2 %h $1-
- }
- iiecho {
- if (($left($active,4) == @irc) && ($mid($active,5,1) isnum)) echo -ai2 $ac(ircN>) $+ $1-
- elseif ($active == @ircII) echo -ai2 $1-
- elseif ($left($active,1) == @) echo -si2 $1-
- else echo -ai2 $1-
- }
- splash {
- if (%splash == on) {
- window -ahfkp +be @Splash $getcenter($pic(ircn.bmp).width,$pic(ircn.bmp).height)
- window -a @Splash
- drawpic @Splash 0 0 ircn.bmp
- .timer 1 2 window -c @Splash
- }
- }
- isunset unset %dir.* %rawcode.* %i2.* %remote.* %temp.* %tmp.* %i.* %j.* %k.* %idchktimer %idletimer %xdcc.timer* %btfldtimer %qp.timer
- iunset unset %last* %splitin %dchans %duchan %hchan %holdtopic.* %pt %f11cmd %f12cmd %tmp.* %i.* %j.* %k.* %whois %joinedchans %rawcode.* %spoofchk* %telnet.* %caps.* %bt.dont.* %autocycle.chan %it.timer %xdccnicks
- netset {
- if ($3 == hybrid6) set %efnet.hybrid6 $true
- else set %efnet.hybrid6 $false
- if ($1 == unknown) {
- .timer 1 0 set % $+ irc.network $ $+ ?="ircN was unable to determine your IRC network. $crlf $+ Please enter your current IRC network" $vl .server -a $server -g % $+ irc.network -d % $+ irc.network $ $+ + : $server $vl netset % $+ irc.network $2
- return
- }
- set %irc.network $1
- set %modesonline $2
- if (%autojoin == on) {
- iecho Press $hc(F11) within the next 5 seconds to cancel autojoin for %irc.network $+ .
- .timerautojoin 1 5 join %autojoin. [ $+ [ %irc.network ] ] $vl unset % $+ f11cmd
- set %f11cmd .timer 1 0 .timerautojoin off $vl iecho Autojoin for this session was cancelled. To manually trigger autojoin, press $hc(F11) again. $vl set % $+ f11cmd .timer 1 0 join %autojoin. [ $+ [ %irc.network ] ] $ $+ vl unset % $ $+ + f11cmd
- }
- else {
- iecho Press $hc(F11) within the next 5 seconds to enable and apply autojoin for %irc.network $+ .
- set %f11cmd .timer 1 0 iecho Autojoin for %irc.network enabled, applying now! $vl join %autojoin. [ $+ [ %irc.network ] ]
- }
- }
- nline {
- if ($me ison %nameschannel) set %tmp.nline echo %nameschannel
- else set %tmp.nline iiecho
- if ($form(nicklist,top)) %tmp.nline $readini %formats nicklist top
- else %tmp.nline $lfix(3,.) $+ $str(-,15) $+ . $+ $str(-,15) $+ . $+ $str(-,15) $+ . $+ $str(-,15) $+ .
- set %i.nline 1
- :start
- if ($gettok($1-,%i.nline,32)) {
- if ($form(nicklist,names)) %tmp.nline $readini %formats nicklist names
- else %tmp.nline $lfix(3,$vl) $fix(13,$nll($gettok($1-,%i.nline,32))) $vl $fix(13,$nll($gettok($1-,$pls(1,%i.nline),32))) $vl $fix(13,$nll($gettok($1-,$pls(2,%i.nline),32))) $vl $fix(13,$nll($gettok($1-,$pls(3,%i.nline),32))) $vl
- if ($form(nicklist,namecount)) inc %i.nline $readini %formats nicklist namecount
- else inc %i.nline 4
- goto start
- }
- if ($form(nicklist,bottom)) %tmp.nline $readini %formats nicklist bottom
- else %tmp.nline $lfix(3,') $+ $str(-,15) $+ ' $+ $str(-,15) $+ ' $+ $str(-,15) $+ ' $+ $str(-,15) $+ '
- }
- ns.nick {
- set %i.ns.nick 0
- :start
- inc %i.ns.nick
- if ($gettok($ns.rnick($2,%i.ns.nick),1,32) == $1) return
- elseif ($ns.rnick($2,%i.ns.nick)) goto start
- else writeini -n $tp(wholeft.txt) $2 n [ $+ [ %i.ns.nick ] ] $1 $ticks
- }
- ns.serv {
- set %i.ns.serv 0
- :start
- inc %i.ns.serv
- if (($gettok($ns.rserv(%i.ns.serv),1,38) == $1) && ($gettok($ns.rserv(%i.ns.serv),2,38) == $2)) return
- elseif ($ns.rserv(%i.ns.serv)) goto start
- else writeini -n $tp(wholeft.txt) splitservers n [ $+ [ %i.ns.serv ] ] $1 $+ & $+ $2
- }
- online {
- inc %pong
- if ((%lag != off) && (%pongi // %pong)) .ctcpreply $me LAGSTAT $ticks
- if (($away == $false) && (%autoaway == on) && ($idle >= %idle) && ($sub($ctime,%backtime) >= %idle)) {
- if (%awaycmd) %awaycmd $autoawymsg
- else away $autoawymsg
- }
- clock
- set %i.online 0
- :start
- inc %i.online
- if ($chan(%i.online)) {
- if (($me ison $chan(%i.online)) && ($chan(%i.online).ial == $false) && ($findtok(%joinedchans,$chan(%i.online),1,44) == $null)) {
- set %joinedchans $addtok(%joinedchans,$chan(%i.online),44)
- .who $chan(%i.online)
- }
- goto start
- }
- }
- qplay {
- if ($exists($2) == $false) iecho /qplay: $2 file doesn't exist.
- elseif (($1 == -s) && ($4)) {
- set %i.qplay -1
- :loop
- inc %i.qplay
- $5- $readini $2 $3 n [ $+ [ %i.qplay ] ]
- if ($pls(%i.qplay,1) < $4) goto loop
- }
- elseif (($1 == -f) && ($2)) {
- set %i.qplay 0
- :start
- inc %i.qplay
- $3- $read -l [ $+ [ %i.qplay ] ] $2
- if (%i.qplay < $lines($2)) goto start
- }
- elseif (($1 == -r) && ($4)) {
- set %i.qplay $3
- :start
- inc %i.qplay
- $5- $read -l [ $+ [ %i.qplay ] ] $2
- if (%i.qplay < $4) goto start
- }
- elseif (($1 == -d) && ($3)) {
- set %qp.i 1
- set %qp.file $2
- set %qp.lines $lines($2)
- set %qp.delay $3
- $4- $read -l1 $2
- if (%qp.lines > 1) {
- .timer 1 $3 qplay -cont $2 $4-
- set %qp.timer $ltimer
- }
- }
- elseif (($1 == -cont) && ($2)) {
- inc %qp.i
- $3- $read -l [ $+ [ %qp.i ] ] $2
- if (%qp.i < %qp.lines) {
- .timer 1 %qp.delay qplay $1-
- set %qp.timer $ltimer
- }
- else unset %qp.file %qp.delay %qp.lines
- }
- elseif (($1 == stop) && (%qp.file)) {
- .timer [ $+ [ %qp.timer ] ] off
- unset %qp.file %qp.delay %qp.lines
- }
- else iecho Syntax: /qplay <-r|-s|-f|-d|stop> <filename> [section|start|delay] [lines|end] [command]
- }
- qctcp .quote PRIVMSG $1 : $+ $2- $+
- qnotice .quote NOTICE $1 : $+ $2-
- qmsg .quote PRIVMSG $1 : $+ $2-
- putserv write $queue1 $1-
- puthelp write $queue2 $1-
- queuemsg {
- var %x, %y, %z
- set %x $queue1
- set %y $queue2
- if (%queuenum == $null) set %queuenum 1
- if (%queuenum == 1) {
- set %queuenum 2
- if ($exists(%x) == $false) write -c %x
- set %z $read -nl1 %x
- write -dl1 %x
- if (%z != $null) {
- .quote %z
- return
- }
- }
- if (%queuenum == 2) {
- set %queuenum 1
- if ($exists(%y) == $false) write -c %y
- set %z $read -nl1 %y
- write -dl1 %y
- if (%z != $null) {
- .quote %z
- return
- }
- }
- }
- secho echo -s $1-
- tb {
- if ($server) titlebar $oc(%clocktb,$atime) [[ $me ]] [[ $+ $usermode on $server ( $+ %irc.network $+ )] $tchan $iif($a.numsg,$ab($addtok(m:,$a.numsg,0))) $iif($pages,$ab($addtok(p:,$pages,0))) $hlag $iif($away,$ab(away)) $oc(%xdccs,xdcc) $iif($sock(irc2.*,0),$ab($addtok(irc2,$sock(irc2.*,0),58))) $oc(%tdaemon,$tflags) $oc(%ircii,ircii) $oc(%rawreveal,raw)
- else {
- .timers off
- titlebar [[ Not Connected ]] [[ $strip(%ver) ]]
- }
- }
- tbg {
- if ($4) {
- set %i.tbg 0
- :start
- inc %i.tbg
- if (%i.tbg <= $3) {
- rline $1 %i.tbg 1, $+ $2 $+ $str(á,$4) $+
- goto start
- }
- }
- elseif ($3) {
- set %i.tbg 0
- :start1
- inc %i.tbg
- if (%i.tbg <= $3) {
- rline $1 %i.tbg 1, $+ $2 $+ $str(á,200) $+
- goto start1
- }
- }
- else iecho Syntax: /tbg <@Window> <color> <lines> [width]
- }
- timoff {
- if ($1) .timer [ $+ [ $1 ] ] off
- if ($2) unset % [ $+ [ $2 ] ]
- }
- toggle {
- if (% [ $+ [ $1 ] ] == on) set % [ $+ [ $1 ] ] off
- else set % [ $+ [ $1 ] ] on
- }
- tsound {
- if ((%theme == on) && ($themevar($1) == on)) {
- set %tmp.tsound $themedir $+ $readini $themedir(%themename) default $1-
- if (($exists(%tmp.tsound)) && ($nopath(%tmp.tsound))) .splay %tmp.tsound
- }
- }
- verset {
- set %iver ircN 7.24
- set %ver %iver + 7.0
- set %reldate (2000/03/17 22.00)
- set %irc2.ver irc2 v3.0
- }
- wcln {
- .remove $tp(wholeft.txt)
- .remove $tp(whopop.txt)
- set %netjoin on
- unset %split*
- }
- whecho {
- if ((%whoiswin == on) && ($window(@Whois))) echo $colour(Whois) @Whois $1-
- elseif (%whoiswin == on) { window -an @Whois %whloc @Whois Courier New 412 | echo $colour(Whois) @Whois $1- }
- elseif (($left($active,4) == @irc) && ($mid($active,5,1) isnum)) echo $colour(Whois) -ai2 $ac(ircN>) $+ $1-
- elseif ($active == @ircII) echo $colour(Whois) -ai2 $1-
- elseif ($left($active,1) == @) echo $colour(Whois) -si2 $1-
- else echo $colour(Whois) -ai2 $1-
- }
- wlmv {
- if ($7 == $null) {
- iecho Syntax: /wlmv <@Window> <fore color> <back color> <line> <start> <end> <text>
- return
- }
- set %i.wlmv $sub($5,1)
- :start
- inc %i.wlmv
- if (%i.wlmv <= $6) {
- rline $1 $4 $+ $2 $+ , $+ $+ $3 $+ $str(á,%i.wlmv) $+ $7- $+ $+ $2 $+ , $+ $3 $+ $str(á,150) $+
- goto start
- }
- }
- wrmv {
- if ($7 == $null) {
- iecho Syntax: /wrmv <@Window> <fore color> <back color> <line> <start> <end> <text>
- return
- }
- set %i.wrmv $pls($5,1)
- :start
- dec %i.wrmv
- if (%i.wrmv >= $6) {
- rline $1 $4 $+ $2 $+ , $+ $3 $+ $str(á,%i.wrmv) $+ $7- $+ $str(á,$sub($sub($5,%i.wrmv),$len($7-)))
- goto start
- }
- }
- word.wrap {
- if (^ !isin $2-) iecho Syntax: /wordwrap <length> <command>^[footer]^<text>
- else {
- set %ww.cmd $gettok($2-,1,94)
- if ($gettok($2-,3,94)) {
- set %ww.fot $gettok($2-,2,94)
- set %ww.txt $gettok($2-,3-,94)
- }
- else set %ww.txt $remove($2-,%ww.cmd,^)
- set %ww.m $div($len(%ww.txt),$1)
- %ww.cmd $left(%ww.txt,$1) %ww.fot
- set %i.word.wrap 0
- :start
- inc %i.word.wrap
- if (%i.word.wrap == %ww.m) %ww.cmd $mid(%ww.txt,$mpy($1,%i.word.wrap),$1) $fix($sub($1,$len($mid(%ww.txt,$mpy($1,%i.word.wrap),$1),1)),) %ww.fot
- else {
- %ww.cmd $mid(%ww.txt,$mpy($1,%i.word.wrap),$1) %ww.fot
- goto start
- }
- unset %ww.*
- }
- }
-